/*
 * SignalData.h
 *
 *  Created on: Jul 13, 2009
 *      Author: zaca
 */

#ifndef EDFSIGNALDATA_H
#define EDFSIGNALDATA_H

#include "edfsignalsource.h"
#include <biosignal/signaldata.h>

#include <vector>

namespace biosignal
{
namespace edf
{

using namespace std::tr1;

class EDFSignalData : public SignalData {
private:
	typedef std::vector<EDFSourceSignal::sample_type> signal_data_type;
	signal_data_type data_;
	const EDFSourceSignal* edf_signal_info_;
public:
	EDFSignalData(const EDFSourceSignal* signal_info, int size);
	virtual ~EDFSignalData();

	virtual void value(unsigned int sample_nr, double value);
	virtual double value(unsigned int sample_nr) const;
	virtual int size() const;

};

}
}
#endif /* EDFSIGNALDATA_H */
